]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Save pages after drag end
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 18 Mar 2021 23:41:16 +0000 (00:41 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 31 Mar 2021 10:35:26 +0000 (10:35 +0000)
In the case that we drop an app in the dash, we take the icon
out of its current page, but we forget to save the page after
that.

This results in oddities dragging further elements around, as
the PageManager does no longer consider them to be in the
positions they actually are.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1939984
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1775>

js/ui/appDisplay.js

index 40122ad4b9a6aabda59c1e2eefc5e75d72bc51b0..bb7e47e178f64bf32f9ec460f288b7b63ff89405 100644 (file)
@@ -1748,6 +1748,7 @@ class AppDisplay extends BaseAppView {
     _onDragEnd() {
         super._onDragEnd();
         this._removePlaceholder();
+        this._savePages();
     }
 
     _onDragCancelled(overview, source) {